<template>
	<view>
		<view class="u-page">
			<!-- 所有内容的容器 -->
		</view>
		<!-- 与包裹页面所有内容的元素u-page同级，且在它的下方 -->
		<footer1></footer1>
	</view>
</template>

<script>
	import request from "utils/request.js"
	import footer1 from 'pages/common/footer-bar'
	export default {
		comments:{
			footer1
		},
		data() {
			return {
				inactiveColor: '#909399',
				activeColor: '#5098FF',
				tabBars: [
					{
						iconPath: "edit-pen",
						selectedIconPath: "edit-pen",
						text: '任务',
						customIcon: false,
						pagePath: "pages/main/main",
					},
					{
						iconPath: "order",
						selectedIconPath: "order",
						text: '历史',
						customIcon: false,
						pagePath: "pages/main/main",
					},
				],
				current: 0,
				taskInfo: ""
			}
		},
		onLoad(data) {
			this.taskInfo = JSON.parse(data["taskInfo"])
		},
		methods: {
			tabChange(a,b,c){
				// debugger
				// this.$u.route({
				// 	url: "/pages/flowable/task/common/task-complete?taskInfo=" + JSON.stringify(this.taskInfo)
				// })
			}
		}
	}
</script>

<style>
</style>
